import wx
from GUI.Main_frame import *


class MyApp(wx.App):
    def __init__(self):
        wx.App.__init__(self)

    def OnInit(self):
        # 主界面实例化
        frame = MainFrame(None, -1, 'GUI', (1000, 790))
        frame.Show()
        frame.Center(True)

        return True


if __name__ == '__main__':
    my_app = MyApp()
    my_app.MainLoop()
